﻿using ConsoleApplication1.Algorithm;
using ConsoleApplication1.ThreadExpress;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            //F1_15();
            F16_30();
   
            Console.Read();
        }        

        public static void F1_15()
        {
            //_4种传值方式 f1 = new _4种传值方式();
            //f1.F1();

            //预编译指令集 f2 = new 预编译指令集();
            //f2.F2();

            //UnsafeCode f3 = new UnsafeCode();
            //f3.UnsafeTest();

            //HashTableTest f4 = new HashTableTest();
            //f4.HashTableFunc();

            //StringToByteArray f5 = new StringToByteArray();
            //f5.STBTest();

            //isAndas f6 = new isAndas();
            //f6.isasTest();

            //基类和派生类的构造函数 f7 = new 基类和派生类的构造函数();
            //f7.F1();

            //EventTest f8 = new EventTest();
            //f8.EventFunc();

            //XMLTest f9 = new XMLTest();
            //f9.XMLTestFunc();

            //WStest f10 = new WStest();
            //f10.WStestFunc();

            //Await_Async f11 = new Await_Async();
            //f11.Await_Async_Test();

            //GenericConstrain f12 = new GenericConstrain();
            //f12.GenericConstrainTest();

            //AttributeTest f13 = new AttributeTest();
            //f13.AttributeFunc();

            //ThreadPoolTest f14 = new ThreadPoolTest();
            //f14.ThreadPoolFunc();

            //ThreadingTimerTest f15 = new ThreadingTimerTest();
            //f15.TimerFunc();
        }

        public static void F16_30()
        {
            //MutexTest f16 = new MutexTest();
            //f16.MutexFunc();

            //ThreadStaticTest f17 = new ThreadStaticTest();
            //f17.ThreadStaticFunc();

            //SerializationTest f18 = new SerializationTest();
            //f18.SerializeFunc();

            //Serach_Kth_PrimeNum f19 = new Serach_Kth_PrimeNum();
            //f19.SearchPrimeNumber_K();

            //ScrewMatrix f20 = new ScrewMatrix();
            //f20.ScrewMatrixFunc();

            //KMPtest f21 = new KMPtest();
            //f21.KMPFunc();

            DelegateAndEvent f22 = new DelegateAndEvent();
            f22.DelegateTestFunc();

            //LINQTest f23 = new LINQTest();
            //f23.LINQFunc();

            //IntQuestion f24 = new IntQuestion();
            //f24.IntQuestionFunc();
        }

    }

}
